import React from "react";
import ReduxComOne from "../Components/SomeReduxCom/ReduxComOne";
import ReduxComTwo from "../Components/SomeReduxCom/ReduxComTwo";
import { Tabs } from "antd";

const { TabPane } = Tabs;
const ReduxDemo: React.FC = () => {
  return (
    <Tabs defaultActiveKey="1">
      <TabPane tab="ReduxComOne" key="1">
        <ReduxComOne />
      </TabPane>
      <TabPane tab="ReduxComTwo" key="2">
        <ReduxComTwo
          title="昨日**股票已经跌停"
          content="某公司员工闻讯后上天台被热心网友及时劝回"
        />
      </TabPane>
    </Tabs>
  );
};
export default ReduxDemo;
